Ext.define('Hr.store.cardinfo.CardStore',{
    extend:'Ext.data.Store',
    fields:['id','cd','name','pid','usefulTime','usefulEndTime','state','yearUsefulTime','comment','photo'],
    autoLoad:true,
    proxy: {
        type:'ajax',
        url:'../cardInfoAction/getCards.do',
        reader:{
            type:'json',
            root:'list',
            successProperty: 'success'
        }
    },
    data:[]
});